#ifndef DEF_WCOM
#define DEF_WCOM
#include <string>
#include <iostream>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <boost/thread/thread.hpp>


class WCom{
public:
	WCom();
	void startServer();
	void stopServer();
	
private:
	int ServerSocket;
	struct sockaddr_in serv_addr; 
	boost::thread *tListenning;
};

#endif